@charset "utf-8";
/* windows组件css样式定义 */

/* 
  全局样式
  1. --snapshoot 当前快照
  2. --windows-main-bgColor  主题背景颜色
  3. --windows-main-hover-color  主控件左右的两个按钮 鼠标一上去的背景颜色
  4. --windows-main-lineColor   选项卡下划线的颜色
  5. --windows-button-color  文本颜色
  6. --windows-botton-hover-bgColor 选项卡翻页按钮 鼠标一上去的背景颜色
  7. --windows-li-select-bgColor 选项卡点击选中后的背景颜色
  8. --windows-li-hover-bgColor  选项卡 鼠标一上去的背景颜色
  9. --windows-tips-bgColor  预览小窗口背景颜色
  10.--windows-tips-color    预览小窗口字体颜色
*/
:root{
  --snapshoot: url(../image/bridge.jpg);
  --windows-main-bgColor: #333333;
  --windows-main-hover-color: #336cd0;
  --windows-main-lineColor: #87c5ec;
  --windows-button-color: #fcfcfc;
  --windows-botton-hover-bgColor: #999999;
  --windows-li-select-bgColor: #444444;
  --windows-li-hover-bgColor: #666666;
  --windows-tips-bgColor: #fcfcfc;
  --windows-tips-color: #666666;
}

html,
body{
  width: 100%;
  height: 100%;
}

/* 非预览窗口变透明 */
body.layui-windows-preview .layui-layer{
  opacity: .08;
}

/* 预览窗口正常显示 */
body.layui-windows-preview .layui-layer.layui-windows-preview{
  opacity: 1;
}

/*  这个是需要单独处理的，窗口最大化和最小化隐藏   */
.layui-min-header{
  z-index: 1 !important;
}

#layui-windows-bottom {
  position: fixed;
  bottom: 0;
  height: 40px;
  left: 0;
  right: 0;
  z-index: 99999999;
  background: var(--windows-main-bgColor);
}

#layui-windows-bottom .layui-windows-menu,
#layui-windows-bottom .layui-windows-notice{
  position: absolute;
  height: 40px;
  line-height: 40px;
  font-size: 18px;
  text-align: center;
  color: var(--windows-button-color);
  cursor: pointer;
}

#layui-windows-bottom .layui-windows-menu:hover,
#layui-windows-bottom .layui-windows-notice:hover {
  color: var(--windows-main-hover-color);
}

#layui-windows-bottom .layui-windows-menu {
  left: 0;
  width: 60px;
  font-weight: bold;
  z-index: 999;
}

#layui-windows-bottom .layui-windows-notice {
  right: 0;
  width: 60px;
}

#layui-windows-bottom .layui-windows-notice .iconfont::after {
  content: attr(data-content);
  font-size: 12px;
  line-height: 18px;
  text-align: center;
}

/* 主体样式 */
#layui-windows-bottom .layui-windows-group {
  position: absolute;
  font-size: 18px;
  color: var(--windows-button-color);
  text-align: left;
  height: 40px;
  line-height: 40px;
  left: 60px;
  right: 60px;
}

#layui-windows-bottom .layui-windows-group .layadmin-tabs-control {
  position: absolute;
  height: 40px;
  width: 40px;
  text-align: center;
  cursor: pointer;
}

#layui-windows-bottom .layui-windows-group .layadmin-tabs-control:hover {
  background-color: var(--windows-botton-hover-bgColor);
}

#layui-windows-bottom .layui-windows-group .layadmin-tabs-control:nth-child(1) {
  left: 0;
}

#layui-windows-bottom .layui-windows-group .layadmin-tabs-control:nth-child(2) {
  right: 0;
}

#layui-windows-bottom .layui-windows-group .layui-tab {
  margin: 0;
  position: absolute;
  height: 40px;
  left: 40px;
  right: 40px;
  overflow: hidden;
}

#layui-windows-bottom .layui-windows-group .layui-tab .layui-tab-title {
  position: relative;
  left: 0;
  height: 40px;
  white-space: nowrap;
  border: none;
  transition: all .2s;
}

#layui-windows-bottom .layui-windows-group .layui-tab .layui-tab-title li {
  min-width: 0;
  line-height: 40px;
  height: 38px;
  max-width: 160px;
  text-overflow: ellipsis;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  font-size: 14px;
  transition: all .2s;
  position: relative;
  padding: 0 15px;
  text-align: center;
  margin-right: 5px;
  cursor: pointer;
  box-sizing: border-box;
  border-bottom: 2px solid var(--windows-main-lineColor);
}

#layui-windows-bottom .layui-windows-group .layui-tab .layui-tab-title li.li-select-tip{
  background-color: var(--windows-li-select-bgColor);
}

#layui-windows-bottom .layui-windows-group .layui-tab .layui-tab-title li:hover{
  background-color: var(--windows-li-hover-bgColor);
}

#layui-windows-bottom .layui-windows-group .layui-tab .layui-tab-title .layui-tab-title-true{
  background-color: var(--windows-li-hover-bgColor);
}

#layui-windows-bottom .layui-windows-group .layui-tab-title .layui-this:after{
  border: none;
}

#layui-windows-bottom .layui-windows-tip,
#layui-windows-bottom .layui-windows-group .layui-tab-title li{
  user-select: none;
}

/* 小窗口 */
#layui-windows-bottom .layui-windows-tip{
  position: absolute;
  font-size: 18px;
  color: var(--windows-button-color);
  text-align: center;
  line-height: 30px;
  cursor: default;
  bottom: 0;
  opacity: 0;
  left: 770px;
  background: var(--windows-main-bgColor);
  height: 125px;
  display: none;
  z-index: 99999999;
  text-align: right;
  transition: all 0.3s;
}

#layui-windows-bottom .layui-windows-tip .layui-windows-tips{
  width: 200px;
  height: 100%;
  display: inline-block;
  cursor: pointer;
}

#layui-windows-bottom .layui-windows-tip .layui-windows-tips:hover{
  background: var(--windows-li-hover-bgColor);
}

#layui-windows-bottom .layui-windows-tip.select-tip-flag,
#layui-windows-bottom .layui-windows-tip.select-tip{
  bottom: 40px;
  display: block;
  opacity: 1;
}

#layui-windows-bottom .layui-windows-tip .layui-icon{
  font-size: 18px;
  position: relative;
  right: 10px;
  top: 0px;
  color: transparent;
  cursor: pointer;
  font-weight: bold;
}

#layui-windows-bottom .layui-windows-tip .layui-windows-tips:hover .layui-icon{
  color: var(--windows-button-color);
}

#layui-windows-bottom .layui-windows-tip:hover .layui-icon{
  display: block;
}

#layui-windows-bottom .layui-windows-tip .layui-icon:hover{
  color: #f00 !important;
}

#layui-windows-bottom .layui-windows-tip .layui-windows-tips div{
  position: relative;
  width: 90%;
  height: 80px;
  margin: 0 5%;
  text-align: center;
  font-weight: bold;
  line-height: 35px;
  overflow: hidden;
  background-image: var(--snapshoot);
  background-repeat: no-repeat;
  background-size: 100%;
  background-color: var(--windows-tips-bgColor);
  color: var(--windows-tips-color);
}

.disappear-part{
  position: absolute;
  top: 0;
  left: 0;
  width:20px;
  height:20px; 
  float: left;
  background: var(--snapshoot);
}